Skip to content

Improve make_interpret test coverage; Define behaviour for non explicitly interpreted stateless grammar#49

Open
aszymaniak wants to merge 2 commits intoHerb-AI:masterfrom
aszymaniak:add_make_interpreter_tests
Open

Improve make_interpret test coverage; Define behaviour for non explicitly interpreted stateless grammar#49
aszymaniak wants to merge 2 commits intoHerb-AI:masterfrom
aszymaniak:add_make_interpreter_tests

Conversation

@aszymaniak
Copy link
Copy Markdown

I have added extra tests to improve test coverage of make_interpreter.
While improving the test coverage of stateless interpreter, I noticed the fallback for non-explicitly supported stateless grammar was not calling emit_eval even though emit_eval has an implemented fallback for that scenario. I am not sure what should be the idea on how to handle this case. For now, I suggested to call emit_eval in the commit: 791c618

@ReubenJ
Copy link
Copy Markdown
Member

ReubenJ commented Mar 23, 2026

Hey! Thanks for the contribution.

We no longer use the dev branch. We merge everything directly into master. Please switch your PR to point to master and make sure your branch is up to date with everything there. You can either rebase on top of the latest master or merge from the latest master into your own branch.

Once you've done so, we can take a look again at the PR. Thanks again! :)

@aszymaniak aszymaniak changed the base branch from dev to master March 23, 2026 15:38
@aszymaniak
Copy link
Copy Markdown
Author

@ReubenJ I have changed the target branch

@ReubenJ
Copy link
Copy Markdown
Member

ReubenJ commented Mar 23, 2026

The test additions look great, thanks!

I'm not sure I understand the emit_eval bit. Maybe @THinnerichs would be a better pair of eyes for this.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.09%. Comparing base (b5a6c5c) to head (a70d297).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #49      +/-   ##
==========================================
+ Coverage   69.11%   76.09%   +6.97%     
==========================================
  Files           3        3              
  Lines         204      205       +1     
==========================================
+ Hits          141      156      +15     
+ Misses         63       49      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants